9a649b7e9dd8fdb87625e5d9f15c513925e4eb97,src/main/java/de/webfilesys/gui/xsl/XslShowImageHandler.java,XslShowImageHandler,process,#,42
Before Change
String googleMapsAPIKey = null;
if (req.getScheme().equalsIgnoreCase("https"))
{
googleMapsAPIKey = WebFileSys.getInstance().getGoogleMapsAPIKeyHTTPS();
}
else
{
googleMapsAPIKey = WebFileSys.getInstance().getGoogleMapsAPIKeyHTTP();
}
if (googleMapsAPIKey != null) {
XmlUtil.setChildText(imageDataElement, "googleMaps", "true", false);
}
processResponse("showImage.xsl", true);
After Change
}
// the reason for this is historic: previous google maps api version required an API key
XmlUtil.setChildText(imageDataElement, "googleMaps", "true", false);
processResponse("showImage.xsl", true);
}